package com.itheima.es.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.model.book.pojos.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookMapper extends BaseMapper<Book> {
    List<com.itheima.es.pojos.Book> loadBookByPage(int offset, int pageSize);

    int countBooks();
}
